How to set nmap as No in Motadata?

If you are getting below error while discovering monitors, please follow below steps for the error you have received:

Error: 12-July-2018 12:15:23 PM DEBUG [Linux Metric Collector]:discovery result {Status=0, error-code=Invalid Credentials [10.198.76.24], error-exception=Cannot run program “nmap”: error=2, No such file or directory} of 10.198.76.24

  1. Go to path using command: cd /motadata/motadata/plugins/metric-collector/linux-metric-collector

  2. Open plugin.yml by using command: vi plugin.yml

  3. Search Nmap: Esc /nmap

  4. Set Nmap as: nmap=no

  5. Save the file: Esc :wq

  6. Restart motadata service by using following commands:

service motadata stop service motadata status (This will check whether all process of metadata is stopped or not) service motadata start